package com.cskaoyan.bean.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 根据客户端update请求,返回给客户端信息 Vo 对象, 嵌套于 BaseRespVo 里面;
 * @author: 陈慧颖
 * @time: Created by chy on 2022/6/4 12:43
 */

@Data
public class AdvertiseUpdateVo {


    private Integer id;

    private String name;

    private String link;

    private String url;

    private Integer position;

    private String content;

    private Boolean enabled;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Boolean deleted;
}
